package main

import (
	"fmt"
	"io/ioutil"
	"net/http"
)

func main() {

	//用_代替返回的错误变量 忽略检查
	resp, _ := http.Get("https://www.baidu.com")
	page, _ := ioutil.ReadAll(resp.Body)
	fmt.Println(page)
}
